
package dieci.system;

import dieci.database.PersistentObject;

/**
 *
 * @author DuckSys
 */
public class RawMaterialStock implements PersistentObject{

    private double totalAmount;
    private RawMaterial rawMaterial;

    public RawMaterialStock()
    {
    }

    public RawMaterialStock(RawMaterial rawMaterial, double totalAmount)
    {
        this.rawMaterial = rawMaterial;
        this.totalAmount = totalAmount;
    }

    
    /**
     * Get the value of totalAmount
     *
     * @return the value of totalAmount
     */
    public double getTotalAmount()
    {
        return totalAmount;
    }

    /**
     * Set the value of totalAmount
     *
     * @param totalAmount new value of totalAmount
     */
    public void setTotalAmount(double totalAmount)
    {
        this.totalAmount = totalAmount;
    }

    public RawMaterial getRawMaterial() {
        return rawMaterial;
    }

    public void setRawMaterial(RawMaterial rawMaterial) {
        this.rawMaterial = rawMaterial;
    }

    
}
